import namespace from "../../namespace";
import extend from "lodash/extend";
import pick from "lodash/pick";
class SeatCircle extends namespace.shape.Circle {
  NAME = `${namespace.namespace}.shape.SeatCircle`;

  constructor(attr = {}) {
    super();
    super.attr(
      extend(
        {
          resizeable: false,
          bgColor: "#fff",
          className: "seat"
        },
        attr
      )
    );

    this.getterWhitelist = pick(this.getterWhitelist, ["bgColor", "x", "y"]);
  }
}

namespace.shape.SeatCircle = SeatCircle;
